<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数组的定义</title>
</head>
<body>
<script>
    // 定义 取值 数组[0]
    let  num = [1,34,56,13,55,67,13]
    let  max = num[0]
    for (let i = 1; i<num.length;i++){
        if (max < num[i]){
            max = num[i]
        }
    }
    console.log(`最大值${max}`)
</script>
</body>
</html>